﻿using System.Reflection;

using Autofac;

using Module = Autofac.Module;

namespace MiP.Xml.Core
{
    public class CoreModule : Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterAssemblyTypes(ThisAssembly).AsImplementedInterfaces().InstancePerLifetimeScope();
        }
    }
}